package cn.qvtu.game.model;

import cn.qvtu.game.util.StaticValue;

import java.awt.image.BufferedImage;

public class Tools extends Person
{
    public Tools(int x,int y,BackGround backGround)
    {
        super(x,y,backGround);
    }

    @Override
    public BufferedImage getShowImage()
    {
        return StaticValue.ToolsImgs.get(0);
    }

    //捡起道具
    public void getTools()
    {
        this.backGround.getAllTools().remove(this);
        backGround.setHp(backGround.getHp()+2000);
    }
}
